package models.sys;

import javax.persistence.Entity;
import javax.persistence.EnumType;
import javax.persistence.Enumerated;

import play.db.jpa.Model;

@Entity(name = "u_user_info")
public class UserInfo extends Model {

    public static enum Privacy {
        PRIVATE, FRIENDS, PUBLIC;
    }

    public String code;
    public String value;
    @Enumerated(EnumType.ORDINAL)
    public Privacy privacy;
}
